home *** CD-ROM | disk | FTP | other *** search
/ BBS Toolkit / BBS Toolkit.iso / gt_power / gth035.zip / GTDOORN.HLP < prev    next >
Text File  |  1990-06-30  |  3KB  |  74 lines

  1.  
  2. ╔═════════╦════════════════════════════════════════════════════════════
  3. ║ GT-HELP ║ GTDOORn.BAT - batch files which execute individual doors
  4. ╚═════════╩════════════════════════════════════════════════════════════
  5.  
  6.  
  7.     One door batch file exists for each door - you can theoretically have
  8.     999 doors, eg :
  9.  
  10.         GTDOOR1.BAT     controls door 1
  11.         GTDOOR2.BAT     controls door 2
  12.         .
  13.         .
  14.         GTDOOR99.BAT    controls door 99
  15.         GTDOR100.BAT    controls door 100
  16.         .
  17.         .
  18.         GTDOR999.BAT    controls door 999
  19.  
  20.  
  21.     GT may pass three parameters to the batch file :
  22.  
  23.         %1      will be either REM or CTTY.
  24.         %2      will be the COM port number (usually 1 or 2).
  25.         %3      will be the answer to a question, if configured in GTDOORS.BBS
  26.  
  27.     Usually the batch file will begin with
  28.  
  29.         ECHO OFF
  30.  
  31.     to avoid displaying the DOS commands.  It will usually be followed by
  32.  
  33.         CHEKTIME ON
  34.  
  35.     to ensure that the caller does not stay in the door longer than is
  36.     permitted according to the GT definitions.  Chektime works in
  37.     conjunction with Doorman, as described below.
  38.  
  39.     It would usually be followed soon after by
  40.  
  41.         %1 COM%2
  42.  
  43.     which will substute either to a REM statement (if used locally) or CTTY
  44.     COMn (if used remotely).
  45.  
  46.     Any DOS command capable of outputting to the COM port may be included
  47.     in the body of a door batch file, before concluding the batch file with
  48.  
  49.         %1 CON      (to put output back to the console)
  50.         CHECKTIME OFF
  51.  
  52.     Hints:  When installing doors, it may be convenient to omit the ECHO
  53.             OFF statement and to include a PAUSE command as its final
  54.             statement to see what is going on and to avoid having the
  55.             screen erased too soon after execution.
  56.  
  57.  
  58. ┌─────────────────────────────────────┐
  59. │ Doorman - Carrier Detect Monitoring │
  60. └─────────────────────────────────────┘
  61.  
  62.     If you run doors or external protocols, you should normally also run
  63.     DOORMAN.  This is a TSR which periodically samples the carrier and
  64.     reboots the machine if the carrier is lost.
  65.  
  66.     Doorman needs to be loaded prior to executing GT -- usually either in
  67.     autoexec.bat or HOST.BAT.
  68.  
  69.     If you do not run doorman and the caller loses carrier during a door,
  70.     then it is likely that the board will hang.   Or possibly the next
  71.     caller could continue using the previous caller's logon identity which
  72.     is a security risk.
  73.  
  74.